package com.mywork.dao;

import java.util.List;

import com.mywork.po.Patient;

public interface PatientMapper {
    int deleteByPrimaryKey(Long patientid);

    int insert(Patient record);

    int insertSelective(Patient record);

    Patient selectByPrimaryKey(Long patientid);

    int updateByPrimaryKeySelective(Patient record);

    int updateByPrimaryKey(Patient record);

	List<Patient> selectAll();

	Integer selectListCount();

	List<Patient> selectForLimit(int i, int pageSize);

	Patient selectByCardId(String cardId);

	int getCountOfPatients();

	Patient selectByCardIdOrName(String nameOrCardId);
}